import * as VueRouter from 'vue-router';
import test from "../view/Test.vue";
import main from "../view/Main.vue";
import comprehensive from '../view/Comprehensive.vue';
import EastIsland from '../view/EastIsland.vue';
import TodayTable from '../view/TodayTable.vue';
import dedicated from "../view/Dedicated.vue";
import integrate from '../view/Integrated.vue';
import SummaryTable from '../view/SummaryTable.vue';
import table from '../view/Table.vue';
import RawDataTable from '../view/RawDataTable.vue';
import DefectRawData from '../view/DefectRawData.vue';
import TotalProductionReport from '../view/TotalProductionReport.vue'
import EveryProcessOutput from '../view/EveryProcessOutput.vue'
import swiper from '../view/swiper.vue'
import index from '../view/index.vue'
import Sorting from '../view/Sorting.vue'
import stretchingLegend from "../view/stretchingLegend.vue";
import girlSwiper from "../view/girlSwiper.vue";
import EquipmentOEEManagementReport from "../components/EquipmentOEEManagementReport/EquipmentOEEManagementReport.vue";
import DeviceManagementReport from "../components/DeviceManagementReport/DeviceManagementReport.vue";
import rollingTable from '../components/RollingTable/index.vue'
import spcLegend from '../components/spcLengend/spcLegend.vue'
import ifTest from '../view/ifTest.vue';
import newPage from '../maolue/newPage.vue';
import temperHumChart from "../view/temperHumChart.vue";

const routes = [
    {
        path:'/',
        redirect:'/index'
    },
    {
        path:'/index',
        component:index
    },
    {
        path:'/dedicated',
        component:dedicated
    },
    {
        path:'/test',
        component:test
    },
    {
        path:'/main',
        component:main
    },
    {
        path:'/com',
        component:comprehensive
    },
    {
        path:'/east',
        component:EastIsland
    },
    {
        path:'/integrate',
        component:integrate
    },
    {
        path:'/TodayTable',
        component:TodayTable
    },
    {
        path:'/table',
        component:table
    },
    {
        path:'/sumTable',
        component:SummaryTable
    },
    {
        path:'/rawTable',
        component:RawDataTable
    },
    {
        path:'/defectRawData',
        component:DefectRawData
    },
    {
        path:'/stretchingLegend',
        component:stretchingLegend
    },
    {
        path:'/tpr',
        component:TotalProductionReport
    },
    {
        path:'/epo',
        component:EveryProcessOutput
    },
    {
        path:'/swiper',
        component:swiper
    },
    {
        path:'/sorting',
        component:Sorting
    },
    {
        path:'/girlSwiper',
        component:girlSwiper
    },
    {
        path:'/EquipmentOEEManagementReport',
        component:EquipmentOEEManagementReport
    },
    {
        path:'/DeviceManagementReport',
        component:DeviceManagementReport
    },
    {
        path:'/rollingTable',
        component:rollingTable
    },
    {
        path:'/spcLegend',
        component:spcLegend
    ,
    },
    {
        path:'/ifTest',
        component:ifTest
    },
    {
        path:'/newPage',
        component:newPage
    },
    {
        path:'/temperHumChart',
        component:temperHumChart
    ,
    }
]

const router = VueRouter.createRouter({
    history:VueRouter.createWebHashHistory(),
    routes
})

export default router